home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3x / curs_getyx.z / curs_getyx
Encoding:
Text File  |  1998-10-20  |  4.0 KB  |  65 lines

  1.  
  2.  
  3.  
  4. ccccuuuurrrrssss____ggggeeeettttyyyyxxxx((((3333XXXX))))                                                  ccccuuuurrrrssss____ggggeeeettttyyyyxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _cccc_uuuu_rrrr_ssss______gggg_eeee_tttt_yyyy_xxxx:  _gggg_eeee_tttt_yyyy_xxxx, _gggg_eeee_tttt_pppp_aaaa_rrrr_yyyy_xxxx, _gggg_eeee_tttt_bbbb_eeee_gggg_yyyy_xxxx, _gggg_eeee_tttt_mmmm_aaaa_xxxx_yyyy_xxxx - get _cccc_uuuu_rrrr_ssss_eeee_ssss cursor and
  10.      window coordinates
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_cccc_uuuu_rrrr_ssss_eeee_ssss_...._hhhh_>>>>
  14.  
  15.      _vvvv_oooo_iiii_dddd _gggg_eeee_tttt_yyyy_xxxx_((((_WWWW_IIII_NNNN_DDDD_OOOO_WWWW _****_wwww_iiii_nnnn_,,,, _iiii_nnnn_tttt _yyyy_,,,, _iiii_nnnn_tttt _xxxx_))))_;;;;
  16.      _vvvv_oooo_iiii_dddd _gggg_eeee_tttt_pppp_aaaa_rrrr_yyyy_xxxx_((((_WWWW_IIII_NNNN_DDDD_OOOO_WWWW _****_wwww_iiii_nnnn_,,,, _iiii_nnnn_tttt _yyyy_,,,, _iiii_nnnn_tttt _xxxx_))))_;;;;
  17.      _vvvv_oooo_iiii_dddd _gggg_eeee_tttt_bbbb_eeee_gggg_yyyy_xxxx_((((_WWWW_IIII_NNNN_DDDD_OOOO_WWWW _****_wwww_iiii_nnnn_,,,, _iiii_nnnn_tttt _yyyy_,,,, _iiii_nnnn_tttt _xxxx_))))_;;;;
  18.      _vvvv_oooo_iiii_dddd _gggg_eeee_tttt_mmmm_aaaa_xxxx_yyyy_xxxx_((((_WWWW_IIII_NNNN_DDDD_OOOO_WWWW _****_wwww_iiii_nnnn_,,,, _iiii_nnnn_tttt _yyyy_,,,, _iiii_nnnn_tttt _xxxx_))))_;;;;
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      With the _gggg_eeee_tttt_yyyy_xxxx macro, the cursor position of the window is placed in the
  22.      two integer variables _y and _x.
  23.  
  24.      With the _gggg_eeee_tttt_pppp_aaaa_rrrr_yyyy_xxxx macro, if _w_i_n is a subwindow, the beginning coordinates
  25.      of the subwindow relative to the parent window are placed into two
  26.      integer variables, _y and _x.  Otherwise, _----_1111 is placed into _y and _x.
  27.  
  28.      Like _gggg_eeee_tttt_yyyy_xxxx, the _gggg_eeee_tttt_bbbb_eeee_gggg_yyyy_xxxx and _gggg_eeee_tttt_mmmm_aaaa_xxxx_yyyy_xxxx macros store the current beginning
  29.      coordinates and size of the specified window.
  30.  
  31. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  32.      The return values of these macros are undefined (_i._e., they should not be
  33.      used as the right-hand side of assignment statements).
  34.  
  35. NNNNOOOOTTTTEEEESSSS
  36.      The header file _<<<<_cccc_uuuu_rrrr_ssss_eeee_ssss_...._hhhh_>>>> automatically includes the header files
  37.      _<<<<_ssss_tttt_dddd_iiii_oooo_...._hhhh_>>>> and _<<<<_uuuu_nnnn_cccc_tttt_rrrr_llll_...._hhhh_>>>>.
  38.  
  39.      Note that all of these interfaces are macros and that "_&&&&" is not
  40.      necessary before the variables _y and _x.
  41.  
  42. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  43.      _cccc_uuuu_rrrr_ssss_eeee_ssss(3X)
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                                                         PPPPaaaaggggeeee 1111
  61.  
  62.  
  63.  
  64.